﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ToolsUpload.aspx.cs" Inherits="ITOMMS.Web.ToolsUpload" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>辅助工具上传</title>
    <link href="../css/layout.css" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" id='skin' type="text/css" href="../css/skin/qq/ymPrompt.css" />

    <script type="text/javascript" src="../js/ymPrompt.js"></script>

</head>
<body>
    <form id="form1" runat="server">
        <div id="message" style="background-color: Red">
        </div>
        <table class="tblDataArea" width="100%">
            <tr class="tblQueryArea">
                <td class="tblDataCaption" colspan="2">
                    <div style="width: 210px;" class="title">
                        <img src="../images/lv3.gif" style="margin-bottom: -3px;" />辅助工具上传</div>
                </td>
            </tr>
            <tr>
                <td class="tdQueryCaption" style="width: 94px">
                    <span>文件名<span style="background-color: #f4dfe5">：</span></span>
                </td>
                <td class="tdQueryField">
                    <asp:TextBox ID="txtTitle" runat="server" Width="151px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="tdQueryCaption" style="width: 94px">
                    类别<span style="background-color: #f4dfe5">：</span></td>
                <td class="tdQueryField">
                    <asp:DropDownList ID="ddlType" runat="server" Width="155px" class="input_out" onfocus="this.className='input_on';this.onmouseout=''"
                            onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                            onmousemove="this.className='input_move'" onmouseout="this.className='input_out'"> 
                    </asp:DropDownList></td>
            </tr>
            <tr>
                <td class="tdQueryCaption" style="width: 94px">
                    <span><span style="background-color: #f4dfe5">选择文件：</span></span></td>
                <td class="tdQueryField">
                    <asp:FileUpload ID="FileUpload1" runat="server" /></td>
            </tr>
            <tr>
                <td class="tdQueryCaption" style="width: 94px">
                    描述：</td>
                <td class="tdQueryField">
                    <asp:TextBox ID="txtdesicription" runat="server" Height="185px" TextMode="MultiLine"
                        Width="348px"></asp:TextBox></td>
            </tr>
            <tr>
                <td class="tblDataCaption" style="width: 94px">
                </td>
                <td class="tblDataCaption">
                    <asp:Button ID="btnSave"   CssClass="cssButton" runat="server" Text="提交" OnClick="btnSave_Click" OnClientClick="javascript:return confirm('你确认要提交吗?');"/></td>
            </tr>
        </table>
    </form>
</body>
</html>

<script type="text/javascript">
function check()
{
   // alert($.GetValidResult());
	if($.GetValidResult())/*验证表单*/
	{	
	    return true; 
	}
	else
	{
	    return false;
	}
}

    $("#txtTitle").attr("dataType","Require");
    $("#txtTitle").attr("tip", "请输入文件名");
    
    $("#ddlType").attr("dataType","Require");
    $("#ddlType").attr("tip", "请选择文件类型");  
    
    
</script>
